Import('rtconfig')
from building import *

cwd = GetCurrentDir()

LIBS    = []
LIBPATH = []
src = []

LIBPATH = [cwd]
if rtconfig.CROSS_TOOL == 'gcc':
    LIBS += ['wifi_6181_0.2.5_armcm4_gcc']
elif rtconfig.CROSS_TOOL == 'keil':
    LIBS += ['libwifi_6181_0.2.5_armcm4_keil']
else:
    LIBS += ['libwifi_6181_0.2.5_armcm4_iar']

path = [cwd]

group = DefineGroup('wifi', src, depend = ['RT_USING_WIFI_6181_LIB'], CPPPATH = path, LIBS = LIBS, LIBPATH = LIBPATH)

Return('group')
